﻿using System.Collections.Generic;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using PortalWeb.Core.Entity;

namespace PortalWeb.Business.Entity
{
    public class ApplicationRoleModel: IdentityRole
    {
        public int? GroupId { get; set; }
        /// <summary>
        /// 描叙
        /// </summary>
        public string Describe { get; set; }


        public virtual RoleGroup RoleGroup { get; set; }
        /// <summary>
        /// 多对多
        /// </summary>
        public virtual ICollection<Function> Functions { get; set; }
    }
}